/**
 * Created by JOKER XU on 2017/6/26.
 */
var Rx = require('rx');

let b$ =Rx.Observable.from([1,3]);
let c$ =Rx.Observable.from([2,2]);

let a$ = Rx.Observable.zip(b$,c$,(b,c)=>{
	console.error('b='+b);
	console.error('c='+c);
	return b+c;
});
a$.subscribe(a=>console.error('a='+a));
/**
* b=1
 c=2
 a=3
 b=3
 c=2
 a=5
* */